package com.atguigu.cloudalibaba.blockHanders;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.atguigu.springcloud.entities.CommonResult;

/**
 * @Author yangjin
 * @Description
 * @Date 2021/7/18/16:33
 **/
public class ConsumerBlockHandler {

    public static CommonResult handleException(BlockException exception)
    {
        return new CommonResult(444,"自定义限流返回提示测试");
    }
}
